package com.java1412.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author java1412
 * @create 2022-09-14 14:48
 */
@Component
@FeignClient(value = "nacos-payment-provider")
public interface PaymentFeignService {
    @RequestMapping("/payment/nacos/{id}")
    public String getPayment(@PathVariable("id") Integer id);
}
